package com.example.learnquartz.quartz;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

import java.util.List;

/**
 * @version v1.0
 * @description:
 * @author: 47 on 2020/4/9 14:26
 */
@Component
@ConfigurationProperties(prefix = "quartz")
public class SchedulerJobs {

    private List<SchedulerJob> jobs;

    public List<SchedulerJob> getJobs() {
        return jobs;
    }

    public void setJobs(List<SchedulerJob> jobs) {
        this.jobs = jobs;
    }
}
